﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace App.Views.ViewModels
{
    public class WakeHallInfoViewModel
    {
        [Required(ErrorMessage="*")]
        [RegularExpression("\\d{2}", ErrorMessage = "2位数字")]    
        [DisplayName("编号")]
        public string HallNO { get; set; }
        [Required(ErrorMessage = "*")]
        [DisplayName("名称")]
        public string HallName { get; set; }
        [DisplayName("备注")]
        public string Remark { get; set; }
    }
}